<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
    <head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>后台</title>
	<link href="http://layui.hcwl520.com.cn/layui-v2.4.5/css/layui.css?v=201811010202" rel="stylesheet"></link>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">微信管理系统</div>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          <img src="http://q1.qlogo.cn/g?b=qq&nk=664870911&s=640" class="layui-nav-img"><span th:text=${session.user.email}></span>
        </a>
      </li>
      <li class="layui-nav-item"><a href="/user/toLogin">退出</a></li>
    </ul>
  </div>
  
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item layui-nav-itemed">
            <dd><a href="/qrCode/list" target="option" >活码列表</a></dd>
        </li>
        <li class="layui-nav-item">
            <dd><a href="/article/list" target="option" >文章列表</a></dd>
        </li>
        <li th:if="${session.user.type} == 3 "  class="layui-nav-item"><a href="/user/list" target="option"> 用户管理</a></li>
      </ul>
    </div>
  </div>
  
  <div class="layui-body" style="overflow-y:hidden;">
   	<iframe id="option" name="option" src="/article/list" style="overflow: visible; scrolling="no" frameborder="no" width="100%" height="100%"></iframe>
  </div>
</div>
<script type="text/javascript" src="http://layui.hcwl520.com.cn/jquery/jquery-3.3.1.min.js?v=201804251754"></script>
<script type="text/javascript" src="http://layui.hcwl520.com.cn/layui-v2.4.5/layui.all.js?v=201811010202"></script>
<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;
  
});
</script>
</body>
</html>